/*
 * Copyright (c) 2015 www.smarthome.com All rights reserved.
 * 本软件源代码版权归----所有,未经许可不得任意复制与传播.
 */
package com.smarthome.base.service;

import java.util.List;
import java.util.Map;

import com.smarthome.base.service.base.BaseService;
import com.smarthome.domain.bean.ShService;
import com.smarthome.domain.vo.boss.DataGrid;
import com.smarthome.domain.vo.boss.PageHelper;

/**
 * ShServiceService接口
 * 
 * @author KongXiangyu
 * @since 2015-09-07
 */
public interface ShServiceService extends BaseService<ShService, Long> {

	/**
	 * 
	 * @Title: getStatisticsData
	 * @Description: TODO(根据条件获取物业服务统计数据)
	 * @param shService
	 * @return Map<String,Object>
	 * @throws
	 * @author cyj
	 */
	Map<String, Object> getStatisticsData(ShService shService);

	/**
	 * 
	 * @param page
	 * @return
	 * @author Administrator hgj
	 */
	DataGrid queryShServices(PageHelper page, ShService service);

	/**
	 * 
	 * @Title: getPropertyServiceList
	 * @Description: 根据条件获取物业服务列表
	 * @param shService
	 * @return List<ShService>
	 * @throws
	 * @author cyj
	 */
	List<ShService> getPropertyServiceList(ShService shService);

	/**
	 * 
	 * @Title: count
	 * @Description: 根据条件获取物业服务数
	 * @param shService
	 *            void
	 * @throws
	 * @author cyj
	 */
	int count(ShService shService);
	
	
	
	/**
     * 
    * @Title: queryServiceCount 
    * @Description: 查询符合条件的物业服务数目（可根据小区查询）
    * @param queryShService
    * @return
    * Long
    * @throws 
    * @author cyj
     */
    Long queryServiceCount(ShService queryShService);
}